import LayoutView from "@/views/LayoutView/LayoutView"
export default {
    path: '/admin',
    name: 'admin',
    component: LayoutView,
    children: [{
        path: "/admin",
        redirect: "/admin/welcome"
    }, {
        path: "welcome",
        name: "welcome",
        component: () => import('@/views/LayoutView/WelcomeView.vue')
    }, {
        path: "userlist",
        name: "userlist",
        component: () => import('@/views/UserView/UserList.vue')
    }, {
        path: "useradd",
        name: "useradd",
        component: () => import('@/views/UserView/UserAdd.vue')
    }, {
        path: "userlevel",
        name: "userlevel",
        component: () => import('@/views/UserView/UserLevel.vue')
    }, {
        path: "useredit/:uid",
        name: "useredit",
        component: () => import('@/views/UserView/UserEdit.vue')
    }]
}